Skip to content

Creating Allocations from Scheduled Hours for Resources

Request

This will create allocations for workspace resources based on their scheduled hours. This endpoint is only usable for Account Administrators and users with Users can edit allocations for unnamed resources or Users can edit allocations for named resources access in the Edit Allocations section of the Resource Management Access Group Set.

This endpoint returns structured Workspace Resource objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the workspace_resources top-level JSON key. Please see our Response Format section for more information.

Bodyapplication/jsonrequired
dataArray of objects

An array of objects representing allocations to create for the specified resources.

{ "data": [ { "resource_ids": [ 0 ], "hard": true, "occurrence": { "type": "anytime", "after_date": "2019-08-24T14:15:22Z", "before_date": "2019-08-24T14:15:22Z", "start_date": "2019-08-24T14:15:22Z", "end_date": "2019-08-24T14:15:22Z" } } ] }

Responses

Workspace Resource has been created.

Bodyapplication/json
successboolean

Indicates if workspace allocations were created.

Response
{ "success": true }